// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import Layout from '@/layout'

const designRouter = {
    path: '/design',
    component: Layout,
    redirect: '/design/index',
    name: 'Design',
    meta: {
      title: '页面管理',
      icon: 'clipboard'
    },
    children: [
      {
        path: 'index',
        component: () => import('@/views/pagemanagement/index'),
        name: 'BaanerIndex',
        meta: { title: '轮播图管理', icon: '' }
      },
      {
        path: 'list/creatBanner/:id?/:isDisabled?',
        component: () => import('@/views/pagemanagement/creatBanner/index'),
        name: 'BannerCreat',
        meta: { title: '轮播图添加', noCache: true, activeMenu: `/design/index` },
        hidden: true
      },
      {
        path: 'jingangArea',
        component: () => import('@/views/pagemanagement/jingang/index'),
        name: 'JingangArea',
        meta: { title: '金刚区管理', icon: '' }
      }
      
    ]
  }

export default designRouter
